import request from '../utils/request'

/**
 * 获取所有的菜单列表
 */
export function getMenus () {
  return request ({
    url: 'doc/Menu/getMenuList',
    method: 'GET'
  })
}

/**
 * 获取详情
 */
export function getDetail (params) {
  return request ({
    url: 'doc/Menu/getMethodInfo',
    method: 'POST',
    params
  })
}
